const { isDev } = require('@utils/helper')
const defaultConfig = {
    APP_SETTINGS: {
        theme: 'light',
        language: 'zh-CN',
        autoUpdate: false
    },
    AUTHOR: {
        name: 'zen',
        email: 'liaoran2023@outlook.com'
    },
    PATH: {
        media: 'uploads',
        database: 'dbs'
    },
    DATABASE: {
        path: 'dbs',
        dbname: 'task.esv2',
        port: '3306',
    },
    services: {
        client: isDev() ? 3000 : 3900,
        server: 3900,
        resource: 3900
    }
};


module.exports = {
    defaultConfig,
};